package com.pearadmin.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pearadmin.system.domain.SysRole;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysRoleMapper extends BaseMapper<SysRole> {

    public List<SysRole> selectRoleList(SysRole sysRole);

    public List<SysRole> selectRoleByUsername(String username);

}
